<?php
class UploadInvalidTypeException extends UploadException {
  
  protected $originalMessage;
  
  public function __construct($message, $code, $originalMessage) {
    $this->originalMessage = $originalMessage;
    parent::__construct($message,$code);
  }
}
?>